{include file="public/header" /}

<body>

    <!--main start-->
    <div class="my_one">
    	<img src="{$info.head_img}" class="img">
        <div class="left">
            <span class="name">{$info['nickname']}</span>
            <span class="wxID">微信号：{$info['wx_code']}</span>
        </div>
    </div>
    <ul class="my_two">
    	<li>
        	<a href="{:url('index/User/edit')}">
            	<i class="i1"></i>个人资料
            </a>
        </li>
    	<li>
        	<a href="{:url('index/User/heartList')}?me=1">
            	<i class="i2"></i>我心动的人
            </a>
        </li>
    	<li>
        	<a href="{:url('index/User/heartList')}?me=2">
            	<i class="i2"></i>心动我的人
            </a>
        </li>
    	<li>
        	<a href="{:url('index/note/noteList')}?me=1">
            	<i class="i3"></i>我发布的留言<em>{$info['myNoteNum']}</em>
            </a>
        </li>
    	<li>
        	<a href="{:url('index/note/noteList')}?me=2">
            	<i class="i3"></i>给我的留言<em>{$info['otherNoteNum']}</em>
            </a>
        </li>
    	<!--<li>-->
        	<!--<span id="clear">-->
            	<!--<i class="i4"></i>清空缓存-->
            <!--</span>-->
        <!--</li>-->
    </ul>
    <!--main end-->
    
    <!--menu start-->
    {include file="public/footer" /}
    <!--menu end-->
    
</body>
<script>
    $('#clear').click(function () {
        $.post("{:url('index/Index/clear')}",{}, function (res) {
            if (res.code == 1) {
                layer.msg(res.msg, {time: 1000, icon: 1});
            } else {
                layer.msg(res.msg, {time: 1000, icon: 2});
            }
        });
    })
</script>
</html>
